import request from '@/utils/request'

//班级树
export function deptTree(data) {
	return request({
		url: '/admin/user/dept/deptTree',
		method: 'get',
		params: data
	})
}
//添加班级
export function deptSave(data) {
	return request({
		url: '/admin/user/dept/deptSave',
		method: 'post',
		data
	})
}
//修改班级信息	
export function deptUpdate(data) {
	return request({
		url: '/admin/user/dept/deptUpdate',
		method: 'post',
		data
	})
}
// 删除班级	
export function deptRemove(data) {
	return request({
		url: '/admin/user/dept/deptRemove',
		method: 'delete',
		params: data
	})
}



